CommonsBooking\Plugin A

Total Complexity 63
Dependencies 24
Dependents 10
Total lines 549
Lines of code 306
Logical lines of code 130
Comment lines 137
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
addCustomUserRoles()
S
50 5 30
removeDeprecatedUserRoles()
S
51 5 26
getTheContent()
S
62 6 11
setParentFile()
S
62 4 11
renderError()
S
58 3 17
addMenuPages()
S
50 2 31
updateLocationCoordinates()
S
66 4 8
runTasksAfterUpdate()
S
62 3 11
initRoutes()
S
58 2 17
registerLocationTaxonomy()
S
58 2 16
registerItemTaxonomy()
S
58 2 16
savePostActions()
S
66 3 9
init()
S
55 1 19
registerPostStates()
S
72 2 5
registerCustomPostTypes()
S
70 2 6
getCacheId()
S
63 2 10
maybeEnableCB1UserFields()
S
70 2 6
registerAdminOptions()
S
68 2 6
saveOptionsActions()
S
69 2 7
registerUserWidget()
S
81 1 3
clearCache()
S
66 1 9
getCustomPostTypesLabels()
S
68 1 8
getCustomPostTypes()
S
68 1 8
initBookingcodes()
S
73 1 4
commonsbooking_load_textdomain()
S
78 1 3
setCacheItem()
S
78 1 3
getCacheItem()
S
79 1 3
updateUserRoleName()
S
79 1 3